module.exports = {
    baseUrl: './',
    assetsDir: 'static',
    productionSourceMap: false,
    devServer: {
        port: 8503,
        proxy: {
            '/api': {
                target: 'http://localhost:9600',
                changeOrigin: true,
                pathRewrite: {
                    '/api': '/'
                }
            },
            '/v1': {
                target: 'https://restapi.amap.com/v3',
                changeOrigin: true,
                pathRewrite: {
                    '/v1': '/'
                }
            }
        }
    }
}